Skip to content

Fix/redis connection failure#288

Merged
amithad merged 94 commits into
developfrom
Fix/Redis-Connection-Failure
Jul 9, 2026
Merged

Fix/redis connection failure#288
amithad merged 94 commits into
developfrom
Fix/Redis-Connection-Failure

Conversation

@JohnPraveenYL

@JohnPraveenYL JohnPraveenYL commented May 11, 2026

Copy link
Copy Markdown
Contributor

Description

This PR resolves the 29-second timeout issue (502 Bad Gateway) encountered during AWS Serverless deployments. By optimizing the agent's execution speed and increasing the available compute resources.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update
  • CI/CD update
  • Other (please describe):

Related Issues

no response from

Fixes #
Fixes the AWS API Gateway timeout errors caused by slow agent initialization and execution.

Changes Made

  • Increased Lambda Memory: Upgraded the AWS Lambda memory allocation to 1024 MB (1 GB) to provide more vCPU power, significantly reducing cold start and initialization times.
  • Optimized Prompts: Adjusted the agent prompts to remove unnecessary reasoning steps, reducing the overall LLM generation time and speeding up the final response delivery.

Testing

  • Unit tests pass locally
  • Integration tests pass locally
  • Manual testing completed
  • New tests added for changes

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

JohnPraveenYL and others added 16 commits May 5, 2026 10:26
Co-authored-by: Copilot <copilot@github.com>
…date test prompts for clarity

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
lakindu-yl and others added 18 commits June 5, 2026 15:37
Signed-off-by: Amitha Dissanayake <amitha@yaalalabs.com>
…n logic for pyenv and tfenv in dev setup script
…ess and update ECS module to wait for healthy tasks

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 59 out of 64 changed files in this pull request and generated 11 comments.

Files not reviewed (2)
  • ak-deployment/ak-aws/containerized/.terraform.lock.hcl: Generated file
  • examples/aws-serverless/scalable-openai/deploy/.terraform.lock.hcl: Generated file

Comment thread scripts/dev-setup.sh
Comment thread examples/aws-serverless/scalable-openai/deploy/deploy.sh
Comment thread examples/aws-containerized/mcp/multi/mcp_test.py
Comment thread examples/aws-serverless/scalable-openai/config.yaml
Comment thread examples/aws-serverless/scalable-openai/config.yaml
Comment thread examples/aws-containerized/mcp/multi/config.yaml
Comment thread examples/aws-serverless/openai/lambda.py
Comment thread examples/aws-containerized/openai-dynamodb/app.py
Comment thread examples/aws-containerized/mcp/multi/server.py
Comment thread examples/aws-containerized/mcp/multi/server.py
amithad added 3 commits July 9, 2026 13:41
…x options for pip installations

- Updated build.sh and deploy.sh scripts across multiple examples to include --no-deps and --no-index options in pip install commands. This change ensures that installations are performed without resolving dependencies from PyPI, relying solely on local distribution links.
- Aimed at improving build consistency and reducing potential conflicts with external package versions.
lakindu-yl
lakindu-yl previously approved these changes Jul 9, 2026
lakindu-yl
lakindu-yl previously approved these changes Jul 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 140 out of 145 changed files in this pull request and generated 17 comments.

Files not reviewed (2)
  • ak-deployment/ak-aws/containerized/.terraform.lock.hcl: Generated file
  • examples/aws-serverless/scalable-openai/deploy/.terraform.lock.hcl: Generated file

Comment thread scripts/dev-setup.sh
Comment thread examples/aws-serverless/websocket-openai/deploy/deploy.sh
Comment thread examples/aws-serverless/websocket-openai/deploy/deploy.sh
Comment thread examples/aws-serverless/websocket-openai/deploy/deploy.sh
Comment thread examples/aws-serverless/websocket-openai/deploy/deploy.sh
Comment thread examples/aws-serverless/adk/config.yaml
Comment thread examples/aws-containerized/mcp/multi/config.yaml
Comment thread examples/aws-containerized/mcp/multi/mcp_test.py
Comment thread .github/workflows/integration-test-weekly.yaml
Comment thread examples/aws-serverless/scalable-openai/deploy/deploy.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants